<div class="row">
    <div class="col-lg-12">
        <div class="ibox ">
            <div class="ibox-title">
                <h5>商家优惠券池信息</h5>
                <div class="ibox-tools" style="top:10px;">
                    <button type="button" v-if="viewCouponShopPoolInfo.index != 2" class="btn btn-primary btn-sm" style="margin-right:10px;"  v-on:click="_openSelectCouponShopPoolInfoModel()">
                        <i class="glyphicon glyphicon-search"></i> 选择商家优惠券池</button>

                    <button type="button" v-if="viewCouponShopPoolInfo.index != 2" class="btn btn-primary btn-sm" v-on:click="_openAddCouponShopPoolInfoModel()">
                        <i class="glyphicon glyphicon-plus"></i> 添加商家优惠券池</button>
                </div>
            </div>
            <div class="ibox-content">
                <div class="row">
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >主键ID：</label>
                            <label class="">{{viewCouponShopPoolInfo.spId}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >优惠券：</label>
                            <label class="">{{viewCouponShopPoolInfo.poolId}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >店铺ID：</label>
                            <label class="">{{viewCouponShopPoolInfo.shopId}}</label>
                        </div>
</div>
</div>
<div class="row">
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >优惠券名称：</label>
                            <label class="">{{viewCouponShopPoolInfo.couponName}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >面值：</label>
                            <label class="">{{viewCouponShopPoolInfo.actualPrice}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >库存：</label>
                            <label class="">{{viewCouponShopPoolInfo.stock}}</label>
                        </div>
</div>
</div>
<div class="row">
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >有效期：</label>
                            <label class="">{{viewCouponShopPoolInfo.validityDay}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >数据状态：</label>
                            <label class="">{{viewCouponShopPoolInfo.statusCd}}</label>
                        </div>
</div>
</div>

            </div>
        </div>
    </div>

    <vc:create path="goods/addCouponShopPool"
               callBackListener="viewCouponShopPoolInfo"
               callBackFunction="chooseCouponShopPool"
    ></vc:create>


    <vc:create path="goods/chooseCouponShopPool"
               emitChooseCouponShopPool="viewCouponShopPoolInfo"
               emitLoadData="viewCouponShopPoolInfo"
    ></vc:create>
</div>
